package com.jtjrenren.android.taxi.passenger.core.order.history;

import com.library.mvp.presenter.BasePresenter;

/**
 * Created by wdl on 2016/9/26.
 */

public class HistoryPresenterImpl extends BasePresenter<HistoryView, HistoryInteractor> implements HistoryPresenter {

    private int type; //当前的订单类型 -1代表全部

    public HistoryPresenterImpl(HistoryView view) {
        super(view);
    }

    @Override
    public HistoryInteractor createInteractor() {
        return new HistoryInteractorImpl();
    }

    @Override
    public void init() {

    }

    @Override
    public void destory() {

    }

    @Override
    public void changeType(int type) {
        this.type = type;
    }
}
